package com.mab.apipassenger.service;

import com.mab.apipassenger.remote.ServiceOrderClient;
import com.msb.internalcommon.dto.ResponseResult;
import com.msb.internalcommon.request.OrderRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Auther: jiudianliu
 * @Date: 2023/7/17 - 07 - 17 - 15:06
 * @Description: com.mab.apipassenger.service
 * @version: 1.0
 */
@Service
public class ServiceOrderService {

    @Autowired
    private ServiceOrderClient serviceOrderClient ;

    public ResponseResult add(OrderRequest orderRequest){
        return serviceOrderClient.add(orderRequest) ;
    }
}
